#if !defined(AFX_AWTVIEW_H__CE760827_3E56_11D2_A3F0_006097A44215__INCLUDED_)
#define AFX_AWTVIEW_H__CE760827_3E56_11D2_A3F0_006097A44215__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// AWTView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// AWTView view

class AFX_EXT_CLASS AWTView : public CView
{
protected:
	AWTView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(AWTView)

// Attributes
public:

// Operations
public:
	AWTApplet* getApplet()
		{return m_applet;}
	AWTApplet* removeApplet();
	void setApplet(AWTApplet* pApp);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(AWTView)
	public:
	virtual void OnInitialUpdate();
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~AWTView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(AWTView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDestroy();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg long OnAWTKeyEvent(UINT, LONG);
	afx_msg long OnAWTFocusEvent(UINT, LONG);
	afx_msg long OnAWTWindowEvent(UINT, LONG);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	AWTApplet* m_applet;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_AWTVIEW_H__CE760827_3E56_11D2_A3F0_006097A44215__INCLUDED_)
